#pragma once
#include <memory>
#include <nice2d/action.h>

class SequenceAction : public Action
{
    DECLARE_OBJECT(SequenceAction)
public:
    SequenceAction();
    ~SequenceAction();
public:
    void addAction(ActionPointer action);
    void addActions(std::initializer_list<ActionPointer> list);
public:
    void update(float deltaTime)override;
private:
    std::unique_ptr<class SequenceActionData> data;
};
